package com.ts.service;

import com.ts.mapper.MenuMapper;
import com.ts.pojo.Menu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuServiceImpl implements MenuService{
    @Autowired
    private MenuMapper menuMapper;

    @Override
    public List<Menu> getMuneList() {
        List<Menu> list=menuMapper.selectList(null);
        return list;
    }
}
